package com.eupmt.lab3.persistence.ibatis.dao;

import com.eupmt.lab3.domain.BoGarantia;
import com.eupmt.lab3.domain.Client;
import com.eupmt.lab3.domain.Producte;
import com.eupmt.lab3.persistence.ibatis.dao.ibator.IbatorBoGarantiaDAO;
import com.ibatis.dao.client.Dao;
import java.util.List;

/**
 *
 * @author sony
 */
public interface BoGarantiaDAO extends IbatorBoGarantiaDAO, Dao {
    void saveBoGarantia(BoGarantia boGarantia)   throws Exception;
   void insertBoGarantia(BoGarantia boGarantia) throws Exception;
   void updateBoGarantia(BoGarantia boGarantia) throws Exception;
   void deleteBoGarantia(BoGarantia boGarantia) throws Exception;

   BoGarantia getBoGarantiaById(int idBoGarantia)        throws Exception;
   List<BoGarantia> getBonsGarantiaByClient(Client client)       throws Exception;
   List<BoGarantia> getBonsGarantiaByProducte(Producte producte) throws Exception;

}
